import request from '@/utils/request'

export default {


  // 获取组织树
  deptTree: () => {
    return request({
      url: '/location/gps/deptTree',
      method: 'get'
    })
  },
  // 历史轨迹表数据
  trackData: (data) => request({
    url: '/location/track/trackData',
    method: 'post',
    data: data
  }),
  // 查询车辆里程标记
  trackDateMark: (key) => {
    return request({
      url: '/location/track/history_flag/'+key,
      method: 'get'
    })
  },
  //获取车辆树信息
  groupCarTree: (key) => {
    return request({
      url: '/location/gps/groupCarTree',
      method: 'get',
      params: key
    })
  },



}





